﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AnlianCommon.Common.Domains.OrganizationalUnits
{
    /// <summary>
    /// 单位
    /// </summary>
    public class Flat
    {
        [Key]
        /// <summary>
        /// 单位编号
        /// </summary>
        public int FlatId { get; set; }
        /// <summary>
        /// 企业全称
        /// </summary>
        public string? CompanieFullName { get; set; }
        /// <summary>
        /// 企业LOGO
        /// </summary>
        public string? CompanieLOGO { get; set; }
        /// <summary>
        /// 行业标签(外键)  关联着二级行业
        /// </summary>
        public int? SecondLevelId { get; set; }
        /// <summary>
        /// 所在区域(外键)  关联着区县表
        /// </summary>
        public int? ProvinceId { get; set; }
        /// <summary>
        /// 详细地址   采用高德地图获取
        /// </summary>
        public string? FullAddress { get; set; }
        /// <summary>
        /// 企业电话
        /// </summary>
        public string? CompaniePhone { get; set; }
        /// <summary>
        /// 统一社会信用代码
        /// </summary>
        public string? CreditCode { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string? CompanieDesc { get; set; }
        /// <summary>
        /// 停用企业    是否停用 0停用 1启用
        /// </summary>
        public bool? DeactivateCompanie { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string? Head { get; set; }
        /// <summary>
        /// 财务负责人
        /// </summary>
        public string? FinanceHead { get; set; }
        /// <summary>
        /// 分管负责人
        /// </summary>
        public string? InChargeHead { get; set; }
        /// <summary>
        /// 可查看人员
        /// </summary>
        public string? ViewablePersonnel { get; set; }
        /// <summary>
        /// 核算单元
        /// </summary>
        public int? AccountingUnitId { get; set; }
    }
}
